﻿namespace Basic.FlowApplication.Model.AuditItem
{
    public class AuditEmpDto
    {
        public long Id { get; set; }
        public long BatchNo { get; set; }
        public long[] EmpId { get; set; }

        public override bool Equals ( object? obj )
        {
            if ( obj is AuditEmpDto i )
            {
                return this.Id == i.Id && this.BatchNo == i.BatchNo;
            }
            return false;
        }
        public override int GetHashCode ()
        {
            return ( this.Id + "_" + this.BatchNo ).GetHashCode();
        }
    }
}
